package de.szut.tiktaktoe.controller;

import de.szut.tiktaktoe.gui.GameField;
import de.szut.tiktaktoe.gui.InterfaceField;
import de.szut.tiktaktoe.gui.MainFrame;
import de.szut.tiktaktoe.model.Model;

public class Controller {
	
	private static Controller instance;
	@SuppressWarnings("unused")
	private Model model;
	@SuppressWarnings("unused")
	private MainFrame frame;
	private InterfaceField interfield;
	
	public static void main(String[] args) {
		Controller controlle = getInstance();
		controlle.interfield.startRound();
	}
	private Controller() {
		interfield = new GameField();
		model = new Model();
	}
	
	public static Controller getInstance() {
		if (instance == null) {
			instance = new Controller();
		}
		return instance;
	}
	
	

}
